package com.yuanss.smart.fdemo.controller;

import com.yuanss.smart.framework.annotation.Action;
import com.yuanss.smart.framework.annotation.Controller;
import com.yuanss.smart.framework.bean.Param;
import com.yuanss.smart.framework.bean.View;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * @Description HelloController
 * @Date 2024/11/15 下午5:01
 * @Created by 菜到不敢run
 */
@Controller
public class HelloController {

    private static final Logger LOGGER = LoggerFactory.getLogger(HelloController.class);

    @Action("get:/hello")
    public View hello(Param param) {
        LOGGER.info("hello world！");
        return new View("hello.jsp");
    }
}
